#ifndef _LIB_ENDIAN_H
#define _LIB_ENDIAN_H

#ifdef __cplusplus
extern "C" {
#endif

// Definitions for byte order, according to significance of bytes
#define	__LITTLE_ENDIAN	1234
#define	__BIG_ENDIAN	4321
#define	__PDP_ENDIAN	3412

#define __BYTE_ORDER __LITTLE_ENDIAN
#define __FLOAT_WORD_ORDER __BYTE_ORDER

# define LITTLE_ENDIAN	__LITTLE_ENDIAN
# define BIG_ENDIAN	__BIG_ENDIAN
# define PDP_ENDIAN	__PDP_ENDIAN

# define BYTE_ORDER	__BYTE_ORDER

#ifdef __cplusplus
}
#endif

#endif  /* _LIB_ENDIAN_H */
